export default {
  name: [
    { required: true, message: '姓名不能为空', trigger: 'blur' },
  ],
  code: [
    { required: true, message: '编号不能为空', trigger: 'blur' },
  ],
  contact: [
    { required: true, message: '联系人不能为空', trigger: 'blur' },
  ],
  password: [
    { required: true, message: '密码不能为空', trigger: 'blur' },
    { min: 6, message: '密码为6位以上', trigger: 'blur' }
  ],
  mobile: [
      { required: true, message: '手机不能为空', trigger: 'blur' },
      { pattern:/^((0\d{2,3}-\d{7,8})|(1[23567894]\d{9}))$/, message: "请输入正确手机", trigger: "blur" }
  ],
}
